<template>
    <div>
        <el-button @click="outFun">返回</el-button>
        <div>{{this.$store.state.flag}}</div>
    </div>
</template>

<script>
export default {
    data() {
        return {

        };
    },
    computed: {

    },
    created() {

    },
    mounted() {
        
        // console.log('-----',this.$route.params);
        // console.log('+++++',this.$route.query);
    },
    watch: {
        
    },
    methods: {
        outFun(){
            this.$store.commit('setFlag',true)
            this.$router.go(-1)
            
        }
    },
    components: {

    },
};
</script>

<style scoped>
</style>
